package com.wonders.frame.common.util;

//Gps类
public  class Gps {

    private double lat;
    private double lon;

    public Gps(double lon, double lat) {
        this.lat = lat;
        this.lon = lon;
    }
    public Gps() {
    }

    public void print() {
        System.out.println(this.lon + "," + this.lat);
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    @Override
    public String toString() {
        return "Gps{" +
                "lat=" + lat +
                ", lon=" + lon +
                '}';
    }
}